home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mm / ccmd / cmver.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-18  |  708 b   |  32 lines

  1. /*
  2.  Copyright (c) 1986, 1990 by The Trustees of Columbia University in
  3.  the City of New York.  Permission is granted to any individual or
  4.  institution to use, copy, or redistribute this software so long as it
  5.  is not sold for profit, provided this copyright notice is retained.
  6.  
  7.  Author: Howie Kaye
  8. */
  9.  
  10. #include "cmver.h"
  11.  
  12. static int cm_major_version = MAJORVERSION;
  13. static int cm_minor_version = MINORVERSION;
  14. static char *cm_version_date = VERSIONDATE;
  15.  
  16. char *
  17. cm_version()  {
  18.   static char buf[100];
  19.   sprintf(buf,"CCMD Version %d.%d of %s", cm_major_version, cm_minor_version,
  20.       cm_version_date);
  21.   return(buf);
  22. }
  23.  
  24. cm_major() {
  25.   return(cm_major_version);
  26. }
  27.  
  28. cm_minor() {
  29.   return(cm_minor_version);
  30. }
  31.  
  32.